/*
 * @author: yejiang1015
 * @Date: 2019-06-29 14:58:34
 * @Last Modified by: yejiang1015
 * @Last Modified time: 2019-06-29 22:05:11
 * @root 项目根组件
 */
import React, {useEffect} from 'react';
import Routes from 'routes';

const Root: React.FC = props => {
    useEffect(() => {
        console.log('%c Welcome To Create-React-App-Ts', 'color:green;background:yellowgreen;font-size:18px;');
    }, []);
    return <Routes props={props} />;
};
export default Root;
